package com.meilai.project.vo.business.customer;

import com.meilai.project.entity.business.customer.CustomerFollow;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class CustomerFollowVO extends CustomerFollow implements Comparable<CustomerFollowVO> {

    @ApiModelProperty("推进动作ids")
    private List<Long> propelling_action_ids;
    @ApiModelProperty("推进动作名称")
    private List<String> propelling_action_name;
    @ApiModelProperty("推荐资源的id集合")
    private List<Long> recommend_resource_ids;
    @ApiModelProperty("推进资源名称")
    private List<String> recommend_resource_name;
    @ApiModelProperty("图片")
    private List<String> img_list;

    @Override
    public int compareTo(CustomerFollowVO o) {
        if (o == null) {
            return 1;
        }
        return this.getFollow_time().compareTo(o.getFollow_time());
    }
}
